#ifndef __BUMP_H
#define __BUMP_H

#include "defs.h"
#include "hw6.h"

extern VERTEX controlline [ NUM_CNTL_POINTS ];
extern VERTEX bezier [ MAX_POINTS ];
extern int active_point;

int draw_curve ();
int calculate_normals ( int v );
void interpolate(VERTEX &newV, VERTEX a, VERTEX b, float t);
void calc_bezier_point(VERTEX &newV, float t);
int calc_bezier_curve();
#endif
